import {
	safeguardInfo, //获取维护人员端情况
	safeguardInfoSave,
} from '@/api/safeguardApi'
import {
	getStore,
	setStore
} from '@/util/service'
const safeguard = {
	namespaced: true,
	state: {
	},
	getters: {},
	mutations: {
	},
	actions: {
		//获取维护人员信息
		SafeguardInfo({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				safeguardInfo(params).then(res => {
					resolve(res)
				})
			})
		},
		//保存维护人员订单信息
		SafeguardInfoSave({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				safeguardInfoSave(params).then(res => {
					resolve(res)
				})
			})
		},
	}
}
export default safeguard
